# ==============================================================================
# Generated by qmake (2.01a) (Qt 4.6.2) on: Mon Aug 30 19:24:37 2010
# This file is generated by qmake and should not be modified by the
# user.
#  Name        : Makefile
#  Description : Wrapper Makefile for calling Symbian build tools
#
# ==============================================================================


MAKEFILE          = Makefile
QMAKE             = c:\Qt\4.6.2\bin\qmake
DEL_FILE          = del
DEL_DIR           = rmdir
MOVE              = move
XCOPY             = xcopy /d /f /h /r /y /i
ABLD              = ABLD.BAT
DEBUG_PLATFORMS   = winscw gcce armv5 armv6
RELEASE_PLATFORMS = gcce armv5 armv6
MAKE              = make

ifeq (WINS,$(findstring WINS, $(PLATFORM)))
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
else
ZDIR=$(EPOCROOT)epoc32\data\z
endif

DEFINES	 = -DSYMBIAN -DUNICODE -DQT_KEYPAD_NAVIGATION -DQT_SOFTKEYS_ENABLED -DQT_USE_MATH_H_FLOATS -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
INCPATH	 =  -I"C:/Qt/4.6.2/include/QtCore" -I"C:/Qt/4.6.2/include/QtCore/tmp" -I"C:/Qt/4.6.2/include/QtNetwork" -I"C:/Qt/4.6.2/include/QtNetwork/tmp" -I"C:/Qt/4.6.2/include/QtGui" -I"C:/Qt/4.6.2/include/QtGui/tmp" -I"C:/Qt/4.6.2/include/QtXml" -I"C:/Qt/4.6.2/include/QtXml/tmp" -I"C:/Qt/4.6.2/include" -I"C:/Qt/4.6.2/include/tmp" -I"C:/Qt/4.6.2/mkspecs/common/symbian" -I"C:/Qt/4.6.2/mkspecs/common/symbian/tmp" -I"C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/include" -I"C:/nw_test/QGoogleCalendaraug27" -I"C:/nw_test/QGoogleCalendaraug27/tmp" -I"C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/include/stdapis" -I"C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/include/stdapis/sys" -I"C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/include/stdapis/stlport" -I"C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/include/domain/middleware" -I"C:/S60/devices/Nokia_N97_SDK_v1.0/epoc32/include/domain/middleware/loc"
first: default
default: debug-winscw
all: debug release

qmake:
	$(QMAKE) -spec symbian-abld -o "bld.inf" "C:/nw_test/QGoogleCalendaraug27/QGoogleCalendar.pro"

bld.inf:
	$(QMAKE)

$(ABLD): bld.inf
	bldmake bldfiles

debug: $(ABLD)
	$(ABLD) build winscw udeb
	$(ABLD) build gcce udeb
	$(ABLD) build armv5 udeb
	$(ABLD) build armv6 udeb

release: $(ABLD)
	$(ABLD) build gcce urel
	$(ABLD) build armv5 urel
	$(ABLD) build armv6 urel

debug-winscw: $(ABLD)
	$(ABLD) build winscw udeb
debug-gcce: $(ABLD)
	$(ABLD) build gcce udeb
debug-armv5: $(ABLD)
	$(ABLD) build armv5 udeb
debug-armv6: $(ABLD)
	$(ABLD) build armv6 udeb
release-gcce: $(ABLD)
	$(ABLD) build gcce urel
release-armv5: $(ABLD)
	$(ABLD) build armv5 urel
release-armv6: $(ABLD)
	$(ABLD) build armv6 urel

export: $(ABLD)
	$(ABLD) export

cleanexport: $(ABLD)
	$(ABLD) cleanexport

C:\Qt\4.6.2\bin\moc.exe:
	(cd $(QTDIR)/src/tools/moc && $(MAKE))

mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all

compiler_moc_header_make_all: moc_QCalDetailsWidget.cpp moc_QCalEventList.cpp moc_QCalLoginWidget.cpp moc_QCalEventRetriever.cpp moc_QCalAuthRetriever.cpp moc_QCalendarView.cpp moc_QGoogleCalendar.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) moc_QCalDetailsWidget.cpp moc_QCalEventList.cpp moc_QCalLoginWidget.cpp moc_QCalEventRetriever.cpp moc_QCalAuthRetriever.cpp moc_QCalendarView.cpp moc_QGoogleCalendar.cpp 2> NUL
moc_QCalDetailsWidget.cpp: eventdetails.h \
		QCalDetailsWidget.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QCalDetailsWidget.h -o moc_QCalDetailsWidget.cpp

moc_QCalEventList.cpp: eventdetails.h \
		QCalEventList.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QCalEventList.h -o moc_QCalEventList.cpp

moc_QCalLoginWidget.cpp: QCalAuthRetriever.h \
		QCalEventRetriever.h \
		QCalParseEventDetailsXML.h \
		eventdetails.h \
		QCalLoginWidget.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QCalLoginWidget.h -o moc_QCalLoginWidget.cpp

moc_QCalEventRetriever.cpp: QCalEventRetriever.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QCalEventRetriever.h -o moc_QCalEventRetriever.cpp

moc_QCalAuthRetriever.cpp: QCalEventRetriever.h \
		QCalAuthRetriever.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QCalAuthRetriever.h -o moc_QCalAuthRetriever.cpp

moc_QCalendarView.cpp: QCalAuthRetriever.h \
		QCalEventRetriever.h \
		eventdetails.h \
		QCalendarView.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QCalendarView.h -o moc_QCalendarView.cpp

moc_QGoogleCalendar.cpp: ui_QGoogleCalendar.h \
		QCalAuthRetriever.h \
		QCalEventRetriever.h \
		QCalParseEventDetailsXML.h \
		eventdetails.h \
		QGoogleCalendar.h \
		..\..\Qt\4.6.2\bin\moc.exe
	C:\Qt\4.6.2\bin\moc.exe $(DEFINES) $(INCPATH) -DSYMBIAN QGoogleCalendar.h -o moc_QGoogleCalendar.cpp

compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
	-$(DEL_FILE) qmake_image_collection.cpp 2> NUL
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all: ui_QGoogleCalendar.h
compiler_uic_clean:
	-$(DEL_FILE) ui_QGoogleCalendar.h 2> NUL
ui_QGoogleCalendar.h: QGoogleCalendar.ui
	c:\Qt\4.6.2\bin\uic.exe QGoogleCalendar.ui -o ui_QGoogleCalendar.h

compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_uic_clean 

create_temps:
	-@ if NOT EXIST "C:\Qt\4.6.2\include\QtCore\tmp" mkdir "C:\Qt\4.6.2\include\QtCore\tmp"
	-@ if NOT EXIST "C:\Qt\4.6.2\include\QtNetwork\tmp" mkdir "C:\Qt\4.6.2\include\QtNetwork\tmp"
	-@ if NOT EXIST "C:\Qt\4.6.2\include\QtGui\tmp" mkdir "C:\Qt\4.6.2\include\QtGui\tmp"
	-@ if NOT EXIST "C:\Qt\4.6.2\include\QtXml\tmp" mkdir "C:\Qt\4.6.2\include\QtXml\tmp"
	-@ if NOT EXIST "C:\Qt\4.6.2\include\tmp" mkdir "C:\Qt\4.6.2\include\tmp"
	-@ if NOT EXIST "C:\Qt\4.6.2\mkspecs\common\symbian\tmp" mkdir "C:\Qt\4.6.2\mkspecs\common\symbian\tmp"
	-@ if NOT EXIST "C:\nw_test\QGoogleCalendaraug27\tmp" mkdir "C:\nw_test\QGoogleCalendaraug27\tmp"

extension_clean: compiler_clean
	-@ if EXIST "C:\Qt\4.6.2\include\QtCore\tmp" rmdir  /S /Q  "C:\Qt\4.6.2\include\QtCore\tmp"
	-@ if EXIST "C:\Qt\4.6.2\include\QtNetwork\tmp" rmdir  /S /Q  "C:\Qt\4.6.2\include\QtNetwork\tmp"
	-@ if EXIST "C:\Qt\4.6.2\include\QtGui\tmp" rmdir  /S /Q  "C:\Qt\4.6.2\include\QtGui\tmp"
	-@ if EXIST "C:\Qt\4.6.2\include\QtXml\tmp" rmdir  /S /Q  "C:\Qt\4.6.2\include\QtXml\tmp"
	-@ if EXIST "C:\Qt\4.6.2\include\tmp" rmdir  /S /Q  "C:\Qt\4.6.2\include\tmp"
	-@ if EXIST "C:\Qt\4.6.2\mkspecs\common\symbian\tmp" rmdir  /S /Q  "C:\Qt\4.6.2\mkspecs\common\symbian\tmp"
	-@ if EXIST "C:\nw_test\QGoogleCalendaraug27\tmp" rmdir  /S /Q  "C:\nw_test\QGoogleCalendaraug27\tmp"

pre_targetdeps: \
	generated_sources \
	all_source_deps \
	ui_QGoogleCalendar.h

generated_sources: \
	moc_QCalDetailsWidget.cpp \
	moc_QCalEventList.cpp \
	moc_QCalLoginWidget.cpp \
	moc_QCalEventRetriever.cpp \
	moc_QCalAuthRetriever.cpp \
	moc_QCalendarView.cpp \
	moc_QGoogleCalendar.cpp

all_source_deps: \
	QCalDetailsWidget.h \
	eventdetails.h \
	QCalEventList.h \
	QCalLoginWidget.h \
	QCalAuthRetriever.h \
	QCalEventRetriever.h \
	QCalParseEventDetailsXML.h \
	QCalendarView.h \
	QGoogleCalendar.h \
	ui_QGoogleCalendar.h \
	eventDetails.h

finalize:

winscw_deployment:

winscw_deployment_clean:

-include .make.cache

sis:
	$(if $(wildcard QGoogleCalendar_template.pkg),$(if $(wildcard .make.cache),$(MAKE) -s -f $(MAKEFILE) ok_sis,$(if $(QT_SIS_TARGET),$(MAKE) -s -f $(MAKEFILE) ok_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nocache)),$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)

ok_sis:
	createpackage.bat $(QT_SIS_OPTIONS) QGoogleCalendar_template.pkg $(QT_SIS_TARGET) $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)

QGoogleCalendar.sis:
	$(MAKE) -s -f $(MAKEFILE) sis

installer_sis: QGoogleCalendar.sis
	$(if $(wildcard QGoogleCalendar_installer.pkg),$(MAKE) -s -f $(MAKEFILE) ok_installer_sis,$(MAKE) -s -f $(MAKEFILE) fail_sis_nopkg)

ok_installer_sis: 
	createpackage.bat $(QT_SIS_OPTIONS) QGoogleCalendar_installer.pkg - $(QT_SIS_CERTIFICATE) $(QT_SIS_KEY) $(QT_SIS_PASSPHRASE)

fail_sis_nopkg:
	$(error PKG file does not exist, 'sis' and 'installer_sis' target are only supported for executables or projects with DEPLOYMENT statement)

fail_sis_nocache:
	$(error Project has to be built or QT_SIS_TARGET environment variable has to be set before calling 'SIS' target)

store_build:
	@echo # ============================================================================== > .make.cache
	@echo # This file is generated by make and should not be modified by the user >> .make.cache
	@echo #  Name        : .make.cache >> .make.cache
	@echo #  Part of     : QGoogleCalendar >> .make.cache
	@echo #  Description : This file is used to cache last build target for >> .make.cache
	@echo #                make sis target. >> .make.cache
	@echo #  Version     :  >> .make.cache
	@echo # >> .make.cache
	@echo # ============================================================================== >> .make.cache
	@echo. >> .make.cache
	@echo QT_SIS_TARGET ?= $(QT_SIS_TARGET) >> .make.cache

dodistclean:
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_template.pkg" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_template.pkg"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_installer.pkg" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_installer.pkg"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\Makefile" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\Makefile"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\Makefile_0xECB6AF02.mk" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\Makefile_0xECB6AF02.mk"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_0xECB6AF02.mmp" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_0xECB6AF02.mmp"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_reg.rss" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar_reg.rss"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar.rss" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar.rss"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar.loc" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\QGoogleCalendar.loc"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\.make.cache" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\.make.cache"
	-@ if EXIST "c:\nw_test\QGoogleCalendaraug27\bld.inf" $(DEL_FILE)  "c:\nw_test\QGoogleCalendaraug27\bld.inf"

distclean: clean dodistclean

clean: $(ABLD)
	-$(ABLD) reallyclean
	-bldmake clean

clean-debug: $(ABLD)
	$(ABLD) reallyclean winscw udeb
	$(ABLD) reallyclean gcce udeb
	$(ABLD) reallyclean armv5 udeb
	$(ABLD) reallyclean armv6 udeb

clean-release: $(ABLD)
	$(ABLD) reallyclean gcce urel
	$(ABLD) reallyclean armv5 urel
	$(ABLD) reallyclean armv6 urel

clean-debug-winscw: $(ABLD)
	$(ABLD) reallyclean winscw udeb
clean-debug-gcce: $(ABLD)
	$(ABLD) reallyclean gcce udeb
clean-debug-armv5: $(ABLD)
	$(ABLD) reallyclean armv5 udeb
clean-debug-armv6: $(ABLD)
	$(ABLD) reallyclean armv6 udeb
clean-release-gcce: $(ABLD)
	$(ABLD) reallyclean gcce urel
clean-release-armv5: $(ABLD)
	$(ABLD) reallyclean armv5 urel
clean-release-armv6: $(ABLD)
	$(ABLD) reallyclean armv6 urel

run:
	-call /S60/devices/Nokia_N97_SDK_v1.0/epoc32/release/winscw/udeb/QGoogleCalendar.exe $(QT_RUN_OPTIONS)
runonphone: sis
	runonphone $(QT_RUN_ON_PHONE_OPTIONS) --sis QGoogleCalendar_$(QT_SIS_TARGET).sis QGoogleCalendar.exe $(QT_RUN_OPTIONS)

